package cb.com.etcdemo.bean;

/**
 * Created by acer on 2018/5/8.
 */

public class Login {


    /**
     * logId : 1544146678
     * code : 0
     * msg : 登录成功
     * data : {"username":"admin","name":"超级管理员","roleId":"1"}
     */

    private String logId;
    private String code;
    private String msg;
    private DataBean data;

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * username : admin
         * name : 超级管理员
         * roleId : 1
         */

        private String username;
        private String name;
        private String roleId;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getRoleId() {
            return roleId;
        }

        public void setRoleId(String roleId) {
            this.roleId = roleId;
        }
    }
}
